package demo3;

import demo1.C;

public class Test {
    public static void main(String[] args) {
        Computer computer=new Computer();
        Mouse mouse=new Mouse();
        KeyBoard keyBoard=new KeyBoard();
        computer.open();
        computer.useDevices(mouse);
        computer.close();


    }

}
